<div class="content_article">
  <div id="acct">  
        <?php 
                if(!empty($pay)){
                    echo '<table>
					<tr>
						<th>#</th><th>Point</th><th>offer</th><th>ip</th><th>Date</th>
					</tr>';
                    $i=0;
                    foreach($pay as $payout){
                        $i++;
                        if($i%2==0){echo '<tr class="row-a">';}else echo '<tr class="row-b">';
                        echo '<td>'.$i.'</td><td>'.$payout->point.'</td><td>'.$payout->name.'</td><td>'.$payout->ip.'</td><td>'.date("d m Y - h:i:s A",$payout->created).'</td>';
                        echo '</tr>';
                    }
                    echo '</table>';
                }
                
                 ?>
     </div>
                 
 </div> 